import request from "../utils/request";

export const getBannerListApi = (params = { page: 1, limit: 10 }) => {
  return request({
    url: "/banner",
    method: "get",
    params,
  });
};

// 删除
export const delBannerApi = (ids) => {
  return request({
    url: "/banner",
    method: "DELETE",
    data: {
      ids,
    },
  });
};
